package org.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.entity.DepartmentalStructure;
import org.example.mapper.DepartmentalStructureMapper;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import org.example.entity.SecurityProvident;
import org.example.mapper.SecurityProvidentMapper;
import org.example.service.SecurityProvidentService;
@Service
public class SecurityProvidentServiceImpl extends ServiceImpl<SecurityProvidentMapper, SecurityProvident> implements SecurityProvidentService{

    @Resource
    private SecurityProvidentMapper securityProvidentMapper;

    @Override
    public int deleteByPrimaryKey(Integer fundId) {
        return securityProvidentMapper.deleteByPrimaryKey(fundId);
    }

    @Override
    public int insert(SecurityProvident record) {
        return securityProvidentMapper.insert(record);
    }

    @Override
    public int insertSelective(SecurityProvident record) {
        return securityProvidentMapper.insertSelective(record);
    }

    @Override
    public SecurityProvident selectByPrimaryKey(Integer fundId) {
        return securityProvidentMapper.selectByPrimaryKey(fundId);
    }

    @Override
    public int updateByPrimaryKeySelective(SecurityProvident record) {
        return securityProvidentMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SecurityProvident record) {
        return securityProvidentMapper.updateByPrimaryKey(record);
    }

}
